package com.fruit.lightPay.main;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;


/**
 * 程序入口
 *
 * @author shibeilei
 * @version 2017.06.08 17:40
 */
@ImportResource("*.xml")
@SpringBootApplication(scanBasePackages = "com.fruit")
public class LightPayProvider {

    /**
     * main方法
     *
     * @param args String[]
     */
    public static void main(String[] args) {
        SpringApplication.run(LightPayProvider.class, args);
        synchronized (LightPayProvider.class) {
            while (true) {
                try {
                	LightPayProvider.class.wait();
                } catch (Throwable e) {
                	e.printStackTrace();
                }
            }
        }
    }
}
